﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Diagnostics;

namespace CrazyWorship1
{
    /// <summary>
    /// Interaction logic for UpdatedVersion.xaml
    /// </summary>
    public partial class UpdatedVersion : Window
    {
        public UpdatedVersion()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }
        public string Version
        {
            get
            {
                return _version;
            }
            set
            {
                _version = value;
            }
        }
        string _version;

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            Uri navigate = new Uri("http://borkbork.com/crazyworship/downloads/installer/cw" + Version + ".msi");
            Process.Start(navigate.ToString());

         


        }
    }
}
